
package ManagerInfoFile;

import java.net.InetAddress;


public class NodeConected {
    private InetAddress IPAddress;
    private int port;
    public NodeConected()
    {
        this.IPAddress = null;
        this.port = 0;
    }
    public void SetInetAddress(InetAddress ipadress)
    {
        this.IPAddress = ipadress;
    }
    public void SetPort(int port)
    {
        this.port =port;
    }
    public InetAddress GetIpAddress()
    {
        return this.IPAddress;
    }
    public int GetPort()
    {
        return this.port;
    }
    
}
